﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Umbraco.Core;
using Umbraco.Core.Models;
using Umbraco.Core.Services;
using umbraco.MacroEngines;

namespace KSSOnline.Controller
{
    public class kssForm
    {
        public static List<IContent> GetKssFormItem(){

            var contentService = ApplicationContext.Current.Services.ContentService;

            var ns = contentService.GetChildren(1057);
            return ns.ToList();
        }

        public static DynamicNodeList GetKssFormDynamic(){
            var d = new DynamicNode(1057);
            return d.GetChildrenAsList;

        }

    }
}
